<%@page import="com.register.beans.RegisterBean"%>
<%@page import="java.io.File"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	RegisterBean bean = (RegisterBean) request.getAttribute("memberInfo");
	System.out.println(bean);
%>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

<style>
.ui-datepicker {
	font-size: 12px;
	width: 200px;
}

.ui-datepicker select.ui-datepicker-month {
	width: 30%;
	font-size: 11px;
}

.ui-datepicker select.ui-datepicker-year {
	width: 40%;
	font-size: 11px;
}
}
</style>
<script type="text/javascript">
	$(document).ready(function() {
		$("#birthdate").datepicker({
			changeMonth : true,
			changeYear : true,
			yearRange : 'c-100:c+0',
			showButtonPanel : true, // 캘린더 하단에 버튼 패널을 표시한다. 
			currentText : '오늘 날짜',
			closeText : '닫기',
			dateFormat : "yy-mm-dd", // 텍스트 필드에 입력되는 날짜 형식.
			showAnim : "slide", //애니메이션을 적용한다.
			showMonthAfterYear : true,
			dayNamesMin : [ '월', '화', '수', '목', '금',
					'토', '일' ],
			monthNamesShort : [ '1월', '2월', '3월', '4월',
					'5월', '6월', '7월', '8월', '9월',
					'10월', '11월', '12월' ]
		});

		$("#ImgPath").load(
			function() {
				$("#ImgPath").attr("width", "100px").attr("height",
						"100px");
			});
	});
</script>
<meta charset="UTF-8">
<title>회원정보</title>
</head>
<body>
	<div>
		<label><h3>회원정보</h3></label>
	</div>
	<form action="" id="frmRegister" name="frmRegister" method="post">
		<div>
			<table style="width: 300px; border: 0px gray solid;" >
				<tr>
					<td width="100" height="100" align="center" rowspan="2">
					<img src="${memberInfo.imgPath }" id="imgPath" name="imgPath"></td>
					<td width="120"></td>
				</tr>

			</table>
		</div>
		<div>
			<table style="width: 300px; border: 1px gray solid;">
				<tr>
					<td width="100">이름</td>
					<td width="120">${memberInfo.name }</td>
				<tr>
				<tr>
					<td>아이디</td>
					<td>${memberInfo.id }</td>
				<tr>
				<tr>
					<td>비밀번호</td>
					<td>${memberInfo.passWd }</td>
				<tr>
				<tr>
					<td>이메일</td>
					<td>${memberInfo.email }</td>
				<tr>
				<tr>
					<td>성별</td>
					<td align="left">${memberInfo.sex }</td>
				<tr>
				<tr>
					<td>생년월일</td>
					<td>${memberInfo.birthDate }</td>
				<tr>
				<tr>
					<td>핸드폰</td>
					<td>${memberInfo.cellPhone }</td>
				<tr>
			</table>
			<!-- 			<div> -->
			<!-- 				<table style="width: 300px; border: 0px gray solid;"> -->
			<!-- 					<tr> -->
			<!-- 						<td width="100" align="center"><input type="submit" value="회원가입" id="btnRegister" name="btnRegister" tabindex="10"></td> -->
			<!-- 						<td width="120" align="center"><input type="reset" value="다시작성" id="btnRegister" name="btnRegister" tabindex="11"></td> -->
			<!-- 					</tr> -->
			<!-- 				</table> -->
			<!-- 			</div> -->
		</div>
	</form>
	<div id="result"></div>
</body>
</html>